<!-- Comments for each match (using facebook comments function) -->
<br />
<%match = Match.find(sid)%>
<!--<span style="float:right; padding-right:20px;">
	<a href=# onclick="document.getElementById('render_comments_layout_<%=sid%>').setStyle('display','none');return false">Close</a>
</span>-->

<fb:comments xid="comments_d_<%=sid%>" canpost="true" candelete="false" showform="true" callbackurl="http://apps.facebook.com/<%=@app_name%>/comments" publish_feed="true">
	<div style="display:none">
		<fb:title><%=match.home_team.displayed_name + " [#{(match.point_spread > 0 ? "+" : "-") + match.point_spread.to_f.abs.to_s}]" + " vs. " + match.away_team.displayed_name + " [#{(match.point_spread > 0 ? "-" : "+") + match.point_spread.to_f.abs.to_s}]"%></fb:title>
	</div>
</fb:comments><br />
